Mobile spirometer